package com.anzia.storeback.service.impl;

import com.anzia.storeback.entity.ShoppingCart;
import com.anzia.storeback.service.ShoppingCartService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *@ClassName ShoppingCartServiceImpl
 *@Description
 *@Author Anzia.
 *@Date 2021/5/31 23:06
 *@Version 1.0
 **/
@Service("shoppingCartService")
public class ShoppingCartServiceImpl implements ShoppingCartService {

    @Override
    public void updateShoppingCart(int user_id, int product_id, int num) {

    }

    @Override
    public void addShoppingCart(int user_id, int product_id) {

    }

    @Override
    public ShoppingCart findShoppingCart(int user_id, int product_id) {
        return null;
    }

    @Override
    public List<ShoppingCart> getShoppingCart(int user_id) {
        return null;
    }

    @Override
    public Map[] getShoppingCartData(List<ShoppingCart> shoppingCarts) {
        return new Map[0];
    }

    @Override
    public boolean deleteShoppingCart(Integer user_id, Integer product_id) {
        return false;
    }
}
